package com.uinnova.product.eam.db.impl;

import com.uinnova.product.eam.comm.model.OceanProject;
import com.uinnova.product.eam.db.OceanProjectDao;
import com.uinnova.product.eam.db.support.dao.mybatis.ComMyBatisBinaryDaoImpl;

public class OceanProjectDaoImpl extends ComMyBatisBinaryDaoImpl<OceanProject, OceanProject> implements OceanProjectDao {
    @Override
    public OceanProject selectLastOne() {
        return getSqlSession().selectOne(getTableName() + ".selectLastOne");
    }

    @Override
    public void deleteAll() {
        getSqlSession().delete(getTableName() + ".deleteAll");
    }
}
